package com.zhuss.common;

import com.zhuss.exception.DzcxException;

public interface OrderService<Result, Param> {
	
	Result create(Param param) throws DzcxException;
	
	Result cancel(Param param) throws DzcxException;

	Result pay(Param param) throws DzcxException;
	
	Result careOrderForUpdate(Param param) throws DzcxException;
	
	Result confirmTake(Param param) throws DzcxException;
	
	Result detailForUpdate(Param param) throws DzcxException;
	
	Result listOrderForUpdate(Param param) throws DzcxException;

	Result listTicketForUpdate(Param param) throws DzcxException;
	
	Result listTicket(Param param) throws DzcxException;
	
	Result detailTicket(Param param) throws DzcxException;
	
	Result refund(Param param) throws DzcxException;
	
	Result careOrderRefundForUpdate(Param param) throws DzcxException;

	Result latestTicket(Param param) throws DzcxException;

}
